package com.lgh.hotel.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.lgh.hotel.vo.params.RoomParams;
import lombok.Data;

import java.io.Serializable;

@Data
public class TableVo implements Serializable {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String room;
    private String context;
    private String name;
    private Integer state;
    private float money;
    private Long creationTime;
    private String founder;
    private Long updateTime;
    private String updateThe;
    private float discount;
    private Integer deposit;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long idCard;
    private RoomParams roomParams;
    private String stime;
    private String etime;
}
